package com.foreveross.fetl.application;

import java.sql.SQLException;
import java.util.List;

import com.foreveross.fetl.vo.single.SinglePlaneInfoVO;

public interface ISinglePlaneInfoApplication {
	
	public void create(SinglePlaneInfoVO vo) throws SQLException;
	
	public void delete(SinglePlaneInfoVO vo) throws SQLException;
	
	public List<SinglePlaneInfoVO> findByCondition(String hbaseKey,String fromCity,String toCity,String flightBatchDate,String flightNo) throws SQLException;
	
	public List<SinglePlaneInfoVO> findPlaneInfoProperty(String hbaseKey,String carrierKey,
			String fromCity, String toCity, String flightBatchDate,String flightNo,String grabDate);
	
	public List<SinglePlaneInfoVO> findPlanInfoAndFamily(String hbaseKey,
			String fromCity, String toCity, String flightBatchDate,String flightNo);
	
	/**
	 * 查询一小时内的数据
	 * @param hbaseKey
	 * @param fromCity
	 * @param toCity
	 * @param grabDate String yyyyMMddHH 2014032721
	 * @return
	 */
	public List<SinglePlaneInfoVO> findByGrabDate(String hbaseKey,
			String fromCity, String toCity,String grabDate);


}
